#ifndef DEVICE_H
#define DEVICE_H

//vendor and series:
#define VENDOR_STC															0
	#define SERIES_STC8A															0
	#define SERIES_STC8G															1
	#define SERIES_STC8H															2
	#define SERIES_STC12C															3
	#define SERIES_STC12LE														4
#define VENDOR_SINONE														1
	#define SERIES_SC92F7															5
#define VENDOR_NUVOTON													2
	#define SERIES_N76E																6
#define VENDOR_ATMEL														3
	#define SERIES_AT																	7
	

//supported devices:
#if  defined(STC8A4K16S2A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														4*1024
	#define FLASH_SIZE														16*1024
	#define EEPROM_SIZE														48*1024
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8A4K32S2A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														4*1024
	#define FLASH_SIZE														32*1024
	#define EEPROM_SIZE														32*1024
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8A4K60S2A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														4*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8A4K64S2A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														4*1024
	#define FLASH_SIZE														63.5*1024
	#define EEPROM_SIZE														512
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8A8K16S4A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														16*1024
	#define EEPROM_SIZE														48*1024
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8A8K32S4A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														32*1024
	#define EEPROM_SIZE														32*1024
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8A8K60S4A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8A8K64S4A12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														63.5*1024
	#define EEPROM_SIZE														512
	#define HAS_AD
	#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3
	#define HAS_WDT
	#include "STC8A.h"
#elif defined(STC8F1K08)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														3*1024
	//#define HAS_AD
	//#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	//#define HAS_TIMER3
	//#define HAS_TIMER4	
	#define HAS_UART0
	//#define HAS_UART1
	//#define HAS_UART2
	//#define HAS_UART3
	#include "STC8A.h"
#elif defined(STC8F1K08S2)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8A
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														3*1024
	//#define HAS_AD
	//#define AD_PRECISION													12
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	//#define HAS_TIMER3
	//#define HAS_TIMER4	
	#define HAS_UART0
	#define HAS_UART1
	//#define HAS_UART2
	//#define HAS_UART3
	#include "STC8A.h"
#elif defined(STC8G1K08P20)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8G.h"	
#elif defined(STC8G1K12P20)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														12*1024
	#define EEPROM_SIZE														0*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8G.h"		
#elif defined(STC8G1K17P20)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														17*1024
	#define EEPROM_SIZE														0*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8G.h"		
#elif defined(STC8G1K08P8)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_UART0
	#include "STC8G.h"	
#elif defined(STC8G1K12P8)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														12*1024
	#define EEPROM_SIZE														0*1024
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_UART0
	#include "STC8G.h"		
#elif defined(STC8G1K08A)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_UART0
	#include "STC8G.h"
#elif defined(STC8G1K17A)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														17*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_UART0
	#include "STC8G.h"
#elif defined(STC8G2K16S2)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														2*1024
	#define FLASH_SIZE														16*1024
	#define EEPROM_SIZE														48*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8G.h"
#elif defined(STC8G2K32S2)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														2*1024
	#define FLASH_SIZE														32*1024
	#define EEPROM_SIZE														32*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8G.h"
#elif defined(STC8G2K60S2)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														2*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1	
	#include "STC8G.h"	
#elif defined(STC8G2K60S4)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														2*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3	
	#include "STC8G.h"
#elif defined(STC8G2K64S4)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8G
	#define XDATA_SIZE														2*1024
	#define FLASH_SIZE														63.5*1024
	#define EEPROM_SIZE														512
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3
	#include "STC8G.h"
#elif defined(STC8H1K08)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8H.h"	
#elif defined(STC8H1K12)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														12*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8H.h"		
#elif defined(STC8H1K17)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														17*1024
	#define EEPROM_SIZE														0*1024
	#define HAS_AD
	#define AD_PRECISION													10	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8H.h"
#elif defined(STC8H1K16)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														16*1024
	#define EEPROM_SIZE														12*1024
	#define HAS_AD
	#define AD_PRECISION													10	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4	
	#define HAS_UART0
	#define HAS_UART1	
	#include "STC8H.h"
#elif defined(STC8H1K24)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														24*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4		
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8H.h"
#elif defined(STC8H1K28)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														1*1024
	#define FLASH_SIZE														28*1024
	#define EEPROM_SIZE														0*1024
	#define HAS_AD
	#define AD_PRECISION													10	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4
	#define HAS_UART0
	#define HAS_UART1
	#include "STC8H.h"
#elif defined(STC8H3K32S4)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														32*1024
	#define EEPROM_SIZE														32*1024
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4		
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3	
	#include "STC8H.h"
#elif defined(STC8H3K64S4)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														64*1024
	#define EEPROM_SIZE														0*1024
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4		
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3	
	#include "STC8H.h"
#elif defined(STC8H8K32S4U)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														32*1024
	#define EEPROM_SIZE														32*1024
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4		
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3	
	#include "STC8H.h"
#elif defined(STC8H8K64S4U)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC8H
	#define XDATA_SIZE														8*1024
	#define FLASH_SIZE														64*1024
	#define EEPROM_SIZE														0*1024
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_TIMER3
	#define HAS_TIMER4		
	#define HAS_UART0
	#define HAS_UART1
	#define HAS_UART2
	#define HAS_UART3	
	#include "STC8H.h"
#elif defined(STC12C5A60AD)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC12C
	#define XDATA_SIZE														5*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1	
	#define HAS_UART0
	#include "STC12C5A60S2.h"	
#elif defined(STC12C5A60S2)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC12C
	#define XDATA_SIZE														5*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1	
	#define HAS_UART0
	#define HAS_UART1
	#include "STC12C5A60S2.h"		
#elif defined(STC12LE5A60AD)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC12C
	#define XDATA_SIZE														5*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1	
	#define HAS_UART0
	#include "STC12C5A60S2.h"	
#elif defined(STC12LE5A60S2)
	#define VENDOR																VENDOR_STC
	#define SERIES																SERIES_STC12C
	#define XDATA_SIZE														5*1024
	#define FLASH_SIZE														60*1024
	#define EEPROM_SIZE														4*1024
	#define HAS_AD
	#define AD_PRECISION													10
	#define HAS_TIMER0
	#define HAS_TIMER1	
	#define HAS_UART0
	#define HAS_UART1
	#include "STC12C5A60S2.h"			
#elif defined(SC92F7320)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define SC92F732X
	#define XDATA_SIZE														256
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F732X.H"
#elif defined(SC92F7321)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F732X.H"
#elif defined(SC92F7322)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F732X.H"
#elif defined(SC92F7323)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														8*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F732X.H"	
#elif defined(SC92F7250)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														4*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F725X.H"	
#elif defined(SC92F7251)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														4*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F725X.H"	
#elif defined(SC92F7252)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														4*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F725X.H"		
#elif defined(SC92F73530)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														4*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F735X.H"		
#elif defined(SC92F7351)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														4*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F735X.H"		
#elif defined(SC92F7352)
	#define VENDOR																VENDOR_SINONE
	#define SERIES																SERIES_SC92F7
	#define XDATA_SIZE														256
	#define FLASH_SIZE														4*1024
	#define EEPROM_SIZE														128
	#define HAS_AD
	#define AD_PRECISION													12	
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2
	#define HAS_UART0
	#include "SC92F735X.H"			
#elif defined(N76E003)
	#define VENDOR																VENDOR_NUVOTON
	#define SERIES																SERIES_N76E003
	#define NUVOTON
	#define N76E
	#define XDATA_SIZE														256*3
	#define FLASH_SIZE														18*1024
	#define EEPROM_SIZE														0	//IAP,combined with FLASH.
	#define HAS_AD
	#define AD_PRECISION													12		
	#define HAS_TIMER0
	#define HAS_TIMER1
	#define HAS_TIMER2	
	#define HAS_TIMER3
	#define HAS_UART0
	#define HAS_UART1
	#include "N76E003.h"
#else
	#warning "You should define a macro to indicate the MCU type that we supported in your project."
#endif

																
#endif /* DEVICE_H */
